package someTestExcemple.thread;

public class MyRunnable2  implements Runnable{
    @Override
    public void run() {
        //任务是干嘛的
        System.out.println(Thread.currentThread().getName() + "==>输出666~");
        try {
            Thread.sleep(1000);
            //注意线程的sleep不会释放锁，wait会释放锁
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
    }
}
